<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>app首页</title>
</head>
<body>
密码模式测试
<form action="/login" method="post">
    <table>
        <tr>
            <td>用户名</td>
            <td><input type="text" th:name="username"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" th:name="password"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" th:value="密码模式登录">
            </td>
        </tr>
    </table>
</form>
<h1 th:text="${msg}"></h1>
</body>
</html>